<script type="text/javascript" src="{$base_dir}modules/dept_rad/js/AJAX_Radiology.js"></script>
<script type="text/javascript">
{literal}
$(document).ready(function() {
    
});
{/literal}
</script>
<div>
    <table class='dialogTable' cellpadding="0" cellspacing="0" style="width: 100%;">
        <tr valign="top">
            <td style='width: 280px;'>
			    <select id="assignmentId{$ticketId}" name="assignmentId" size="5" style="height: 150px; width: 250px;" onchange="loadAssignmentServices({$ticketId}, this.value)">
			      {html_options options=$assigmentList}
			    </select>
			    <div id="deleteButtonDiv{$ticketId}" style="display: block; margin-top: 10px;">
                    <input type="button" id="deleteAssignmentBtn" value="{translate}Delete{/translate}" onclick="confirmDelete('{$ticketId}', '{$triggeredElement}');" title="{translate}Delete radiology ticket{/translate}">
                </div>
                <div id="deleteLoaderDiv{$ticketId}" style="display: none;">
                    <img src="{$base_uri}images/ajax-loader.gif"/>
                </div>
            </td>
            <td>
                <table cellpadding="0" cellspacing="0" class="dialogTable">
                    <tr valign="top">
                        <td style="width: 100px; padding: 7px 0px;"><span class="label">{translate}Radiology ticket{/translate}</span></td>
                        <td style="width: 150px; padding: 7px 0px;"><span class="field" style="text-transform: uppercase" id="ticketName{$ticketId}"></span></td>
                        <td style='padding: 7px 0px;'><span class="label">{translate}Treatment doctor{/translate}</span></td>
                        <td style='padding: 7px 0px;'><span class="field" id="doctorName{$ticketId}"></span></td>
                    </tr>
                    <tr valign="top">                 
                        <td style='padding: 7px 0px;'><span class="label">{translate}Diagnosis{/translate}</span></td>
                        <td style='padding: 7px 0px;' colspan="3"><div id="diagnosis{$ticketId}"></div> </td>
                    </tr>
                    <tr style='padding: 7px 0px;' valign="top">
                        <td colspan="4">
				            <table id="ticketItemTbl{$ticketId}" cellpadding="0" cellspacing="0" class="grid">
					          <thead>
					               <tr>
					                   <th style="width: 250px;">{translate}Service name{/translate}</th>
					                   <th style="width: 80px;">{translate}Unit price{/translate}</th>
					                   <th style="width: 80px;">{translate}Insurance payment{/translate}</th>
					                   <th style="width: 80px;">{translate}Patient payment_1{/translate}</th>
					               </tr>
					          </thead>
					          <tbody>
					              
					          </tbody>
			                </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
	</table>
</div>